#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Author : mocobk
# @Email  : mailmzb@qq.com
# @Time   : 2020/9/8 18:49

from mitmdump import DumpMaster, Options

from config import BANNER
from proxy.addon import FlowInterceptor

if __name__ == '__main__':
    print(BANNER)
    opts = Options(listen_host='0.0.0.0', listen_port=8888, termlog_verbosity='warn', flow_detail=0, scripts=None)
    m = DumpMaster(opts)
    m.addons.add(FlowInterceptor())
    m.run()
